(function (window) {
    var data = {
        // 城市信息
        getCityData() {
            var data = [{
                "name": "A",
                "data": [
                    "阿拉善盟",
                    "鞍山市",
                    "安庆市",
                    "安阳市",
                    "阿坝藏族羌族自治州",
                    "安顺市",
                    "阿里地区",
                    "安康市",
                    "阿克苏地区",
                    "阿勒泰地区",
                    "阿拉尔市",
                    "澳门"
                ]
            },
            {
                "name": "B",
                "data": [
                    "保定市",
                    "包头市",
                    "巴彦淖尔市",
                    "本溪市",
                    "白山市",
                    "白城市",
                    "蚌埠市",
                    "亳州市",
                    "滨州市",
                    "北海市",
                    "百色市",
                    "白沙黎族自治县",
                    "保亭黎族苗族自治县",
                    "巴中市",
                    "毕节市",
                    "保山市",
                    "宝鸡市",
                    "白银市",
                    "博尔塔拉蒙古自治州",
                    "巴音郭楞蒙古自治州",
                    "北屯市",
                    "北京市"
                ]
            },
            {
                "name": "C",
                "data": [
                    "承德市",
                    "沧州市",
                    "长治市",
                    "赤峰市",
                    "朝阳市",
                    "长春市",
                    "常州市",
                    "滁州市",
                    "池州市",
                    "长沙市",
                    "常德市",
                    "郴州市",
                    "潮州市",
                    "崇左市",
                    "澄迈县",
                    "昌江黎族自治县",
                    "成都市",
                    "楚雄彝族自治州",
                    "昌都市",
                    "昌吉回族自治州",
                    "重庆市"
                ]
            },
            {
                "name": "D",
                "data": [
                    "定州市",
                    "大同市",
                    "大连市",
                    "丹东市",
                    "大庆市",
                    "大兴安岭地区",
                    "东营市",
                    "德州市",
                    "东莞市",
                    "东方市",
                    "定安县",
                    "德阳市",
                    "达州市",
                    "大理白族自治州",
                    "德宏傣族景颇族自治州",
                    "迪庆藏族自治州",
                    "定西市"
                ]
            },
            {
                "name": "E",
                "data": [
                    "鄂尔多斯市",
                    "鄂州市",
                    "恩施土家族苗族自治州"
                ]
            },
            {
                "name": "F",
                "data": [
                    "抚顺市",
                    "阜新市",
                    "阜阳市",
                    "福州市",
                    "抚州市",
                    "佛山市",
                    "防城港市"
                ]
            },
            {
                "name": "G",
                "data": [
                    "赣州市",
                    "广州市",
                    "桂林市",
                    "贵港市",
                    "广元市",
                    "广安市",
                    "甘孜藏族自治州",
                    "贵阳市",
                    "甘南藏族自治州",
                    "果洛藏族自治州",
                    "固原市"
                ]
            },
            {
                "name": "H",
                "data": [
                    "邯郸市",
                    "衡水市",
                    "呼和浩特市",
                    "呼伦贝尔市",
                    "葫芦岛市",
                    "哈尔滨市",
                    "鹤岗市",
                    "黑河市",
                    "淮安市",
                    "杭州市",
                    "湖州市",
                    "合肥市",
                    "淮南市",
                    "淮北市",
                    "黄山市",
                    "菏泽市",
                    "鹤壁市",
                    "漯河市",
                    "黄石市",
                    "黄冈市",
                    "衡阳市",
                    "怀化市",
                    "惠州市",
                    "河源市",
                    "贺州市",
                    "河池市",
                    "海口市",
                    "红河哈尼族彝族自治州",
                    "汉中市",
                    "海东市",
                    "海北藏族自治州",
                    "黄南藏族自治州",
                    "海南藏族自治州",
                    "海西蒙古族藏族自治州",
                    "哈密市",
                    "和田地区"
                ]
            },
            {
                "name": "J",
                "data": [
                    "晋城市",
                    "晋中市",
                    "锦州市",
                    "吉林市",
                    "鸡西市",
                    "佳木斯市",
                    "嘉兴市",
                    "金华市",
                    "景德镇市",
                    "九江市",
                    "吉安市",
                    "济南市",
                    "济宁市",
                    "焦作市",
                    "济源市",
                    "荆门市",
                    "荆州市",
                    "江门市",
                    "揭阳市",
                    "嘉峪关市",
                    "金昌市",
                    "酒泉市"
                ]
            },
            {
                "name": "K",
                "data": [
                    "开封市",
                    "昆明市",
                    "克拉玛依市",
                    "克孜勒苏柯尔克孜自治州",
                    "喀什地区",
                    "可克达拉市",
                    "昆玉市"
                ]
            },
            {
                "name": "L",
                "data": [
                    "廊坊市",
                    "临汾市",
                    "吕梁市",
                    "辽阳市",
                    "辽源市",
                    "连云港市",
                    "丽水市",
                    "六安市",
                    "龙岩市",
                    "莱芜市",
                    "临沂市",
                    "聊城市",
                    "洛阳市",
                    "娄底市",
                    "柳州市",
                    "来宾市",
                    "临高县",
                    "乐东黎族自治县",
                    "陵水黎族自治县",
                    "乐山市",
                    "凉山彝族自治州",
                    "六盘水市",
                    "丽江市",
                    "临沧市",
                    "拉萨市",
                    "林芝市",
                    "兰州市",
                    "陇南市",
                    "临夏回族自治州"
                ]
            },
            {
                "name": "M",
                "data": [
                    "牡丹江市",
                    "马鞍山市",
                    "茂名市",
                    "梅州市",
                    "绵阳市",
                    "眉山市"
                ]
            },
            {
                "name": "N",
                "data": [
                    "南京市",
                    "南通市",
                    "宁波市",
                    "南平市",
                    "宁德市",
                    "南昌市",
                    "南阳市",
                    "南宁市",
                    "内江市",
                    "南充市",
                    "怒江傈僳族自治州",
                    "那曲地区"
                ]
            },
            {
                "name": "P",
                "data": [
                    "盘锦市",
                    "莆田市",
                    "萍乡市",
                    "平顶山市",
                    "攀枝花市",
                    "普洱市",
                    "平凉市"
                ]
            },
            {
                "name": "Q",
                "data": [
                    "秦皇岛市",
                    "齐齐哈尔市",
                    "七台河市",
                    "衢州市",
                    "泉州市",
                    "青岛市",
                    "潜江市",
                    "清远市",
                    "钦州市",
                    "琼海市",
                    "琼中黎族苗族自治县",
                    "黔西南布依族苗族自治州",
                    "黔东南苗族侗族自治州",
                    "黔南布依族苗族自治州",
                    "曲靖市",
                    "庆阳市"
                ]
            },
            {
                "name": "R",
                "data": [
                    "日照市",
                    "日喀则市"
                ]
            },
            {
                "name": "S",
                "data": [
                    "石家庄市",
                    "朔州市",
                    "沈阳市",
                    "四平市",
                    "松原市",
                    "双鸭山市",
                    "绥化市",
                    "苏州市",
                    "宿迁市",
                    "绍兴市",
                    "宿州市",
                    "三明市",
                    "上饶市",
                    "三门峡市",
                    "商丘市",
                    "十堰市",
                    "随州市",
                    "神农架林区",
                    "邵阳市",
                    "韶关市",
                    "深圳市",
                    "汕头市",
                    "汕尾市",
                    "三亚市",
                    "三沙市",
                    "遂宁市",
                    "山南市",
                    "商洛市",
                    "石嘴山市",
                    "石河子市",
                    "双河市",
                    "上海市"
                ]
            },
            {
                "name": "T",
                "data": [
                    "唐山市",
                    "太原市",
                    "通辽市",
                    "铁岭市",
                    "通化市",
                    "泰州市",
                    "台州市",
                    "铜陵市",
                    "泰安市",
                    "天门市",
                    "屯昌县",
                    "铜仁市",
                    "铜川市",
                    "天水市",
                    "吐鲁番市",
                    "塔城地区",
                    "图木舒克市",
                    "铁门关市",
                    "天津市",
                    "台湾"
                ]
            },
            {
                "name": "W",
                "data": [
                    "乌海市",
                    "乌兰察布市",
                    "无锡市",
                    "温州市",
                    "芜湖市",
                    "潍坊市",
                    "威海市",
                    "武汉市",
                    "梧州市",
                    "五指山市",
                    "文昌市",
                    "万宁市",
                    "文山壮族苗族自治州",
                    "渭南市",
                    "武威市",
                    "吴忠市",
                    "乌鲁木齐市",
                    "五家渠市"
                ]
            },
            {
                "name": "X",
                "data": [
                    "邢台市",
                    "辛集市",
                    "忻州市",
                    "兴安盟",
                    "锡林郭勒盟",
                    "徐州市",
                    "宣城市",
                    "厦门市",
                    "新余市",
                    "新乡市",
                    "许昌市",
                    "信阳市",
                    "襄阳市",
                    "孝感市",
                    "咸宁市",
                    "仙桃市",
                    "湘潭市",
                    "湘西土家族苗族自治州",
                    "西双版纳傣族自治州",
                    "西安市",
                    "咸阳市",
                    "西宁市",
                    "香港"
                ]
            },
            {
                "name": "Y",
                "data": [
                    "阳泉市",
                    "运城市",
                    "营口市",
                    "延边朝鲜族自治州",
                    "伊春市",
                    "盐城市",
                    "扬州市",
                    "鹰潭市",
                    "宜春市",
                    "烟台市",
                    "濮阳市",
                    "宜昌市",
                    "岳阳市",
                    "益阳市",
                    "永州市",
                    "阳江市",
                    "云浮市",
                    "玉林市",
                    "宜宾市",
                    "雅安市",
                    "玉溪市",
                    "延安市",
                    "榆林市",
                    "玉树藏族自治州",
                    "银川市",
                    "伊犁哈萨克自治州"
                ]
            },
            {
                "name": "Z",
                "data": [
                    "张家口市",
                    "镇江市",
                    "舟山市",
                    "漳州市",
                    "淄博市",
                    "枣庄市",
                    "郑州市",
                    "周口市",
                    "驻马店市",
                    "株洲市",
                    "张家界市",
                    "珠海市",
                    "湛江市",
                    "肇庆市",
                    "中山市",
                    "儋州市",
                    "自贡市",
                    "泸州市",
                    "资阳市",
                    "遵义市",
                    "昭通市",
                    "张掖市",
                    "中卫市"
                ]
            }
            ]
            return data
        },
        // 商品分类(首页导航栏)
        getCategoryData() {
            var data = [{
                "title": "家用电器",
                "id": 858,
                "subTitle": [
                    "厨房电器",
                    "大家电"
                ],
                "cateTitle": [
                    "品牌日",
                    "家电城",
                    "智能生活馆",
                    "京东净化馆",
                    "京东帮服务店",
                    "值得买精选"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072850306019115.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490039286075654490.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072313895957648.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072329183966195.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072384627679069.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072399542595828.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072417755830176.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072746651935979.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072756032175204.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072777790374054.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072787223453617.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072804442637685.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072813729175306.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072823106532144.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072835176110718.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072860522023692.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072870537181142.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072889090025069.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072898345358625.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072918339853569.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490847672639256000.jpg",
                "children": [{
                    "titleId": 1129,
                    "title": "厨房电器",
                    "category": [{
                        "id": "1131",
                        "name": "电饭煲"
                    },
                    {
                        "id": "1130",
                        "name": "电压力锅"
                    },
                    {
                        "id": "1132",
                        "name": "豆浆机"
                    },
                    {
                        "id": "1133",
                        "name": "面包机"
                    },
                    {
                        "id": "1134",
                        "name": "咖啡机"
                    },
                    {
                        "id": "1135",
                        "name": "微波炉"
                    },
                    {
                        "id": "1136",
                        "name": "料理/榨汁机"
                    },
                    {
                        "id": "1137",
                        "name": "电烤箱"
                    },
                    {
                        "id": "1138",
                        "name": "电磁炉"
                    }
                    ]
                },
                {
                    "titleId": 1105,
                    "title": "大家电",
                    "category": [{
                        "id": "1106",
                        "name": "平板电视"
                    },
                    {
                        "id": "1107",
                        "name": "空调"
                    },
                    {
                        "id": "1108",
                        "name": "冰箱"
                    },
                    {
                        "id": "1109",
                        "name": "洗衣机"
                    },
                    {
                        "id": "1110",
                        "name": "家庭影院"
                    },
                    {
                        "id": "1111",
                        "name": "DVD"
                    },
                    {
                        "id": "1112",
                        "name": "迷你音响"
                    },
                    {
                        "id": "1113",
                        "name": "热水器"
                    },
                    {
                        "id": "1114",
                        "name": "冷吧/冰柜"
                    }
                    ]
                },
                {
                    "titleId": 1145,
                    "title": "个护健康",
                    "category": [{
                        "id": "1152",
                        "name": "按摩椅"
                    },
                    {
                        "id": "1146",
                        "name": "剃须刀"
                    },
                    {
                        "id": "1147",
                        "name": "脱毛器"
                    },
                    {
                        "id": "1148",
                        "name": "口腔护理"
                    },
                    {
                        "id": "1151",
                        "name": "理发器"
                    },
                    {
                        "id": "1153",
                        "name": "按摩器"
                    },
                    {
                        "id": "1154",
                        "name": "足浴盆"
                    }
                    ]
                },
                {
                    "titleId": 1160,
                    "title": "五金家装",
                    "category": [{
                        "id": "1161",
                        "name": "电动工具"
                    },
                    {
                        "id": "1164",
                        "name": "仪表"
                    },
                    {
                        "id": "1169",
                        "name": "水槽"
                    }
                    ]
                },
                {
                    "titleId": 1115,
                    "title": "生活电器",
                    "category": [{
                        "id": "1116",
                        "name": "电风扇"
                    },
                    {
                        "id": "1117",
                        "name": "冷风扇"
                    },
                    {
                        "id": "1118",
                        "name": "净化器"
                    },
                    {
                        "id": "1119",
                        "name": "加湿器"
                    },
                    {
                        "id": "1120",
                        "name": "扫地机器人"
                    },
                    {
                        "id": "1121",
                        "name": "吸尘器"
                    },
                    {
                        "id": "1123",
                        "name": "电话机"
                    },
                    {
                        "id": "1124",
                        "name": "饮水机"
                    },
                    {
                        "id": "1125",
                        "name": "取暖电器"
                    }
                    ]
                }
                ]
            },
            {
                "title": "男装、女装、内衣",
                "id": 6,
                "subTitle": [
                    "女装",
                    "男装"
                ],
                "cateTitle": [
                    "男装",
                    "女装",
                    "内衣",
                    "国际品牌"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072850306019115.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490071974970349584.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072313895957648.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072373278367315.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072677495061584.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072694695600078.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072756032175204.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072765604121481.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072804442637685.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072823106532144.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072860522023692.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072879222701895.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072889090025069.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072898345358625.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072918339853569.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072931218635674.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072950580851309.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072993409028193.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073009638652059.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490074030328949587.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490296743207336995.jpg",
                "children": [{
                    "titleId": 347,
                    "title": "女装",
                    "category": [{
                        "id": "349",
                        "name": "连衣裙"
                    },
                    {
                        "id": "350",
                        "name": "蕾丝/雪纺衫"
                    },
                    {
                        "id": "352",
                        "name": "T恤"
                    },
                    {
                        "id": "354",
                        "name": "半身裙"
                    },
                    {
                        "id": "356",
                        "name": "休闲裤"
                    },
                    {
                        "id": "358",
                        "name": "短裤"
                    },
                    {
                        "id": "372",
                        "name": "小西服"
                    },
                    {
                        "id": "377",
                        "name": "风衣"
                    }
                    ]
                },
                {
                    "titleId": 463,
                    "title": "男装",
                    "category": [{
                        "id": "473",
                        "name": "T恤"
                    },
                    {
                        "id": "466",
                        "name": "裤子"
                    },
                    {
                        "id": "494",
                        "name": "休闲裤"
                    }
                    ]
                },
                {
                    "titleId": 630,
                    "title": "服饰配件",
                    "category": [{
                        "id": "641",
                        "name": "配饰"
                    },
                    {
                        "id": "665",
                        "name": "棒球帽"
                    },
                    {
                        "id": "668",
                        "name": "遮阳帽"
                    }
                    ]
                },
                {
                    "titleId": 547,
                    "title": "内衣",
                    "category": [{
                        "id": "592",
                        "name": "内衣配件"
                    },
                    {
                        "id": "562",
                        "name": "女式内裤"
                    },
                    {
                        "id": "571",
                        "name": "连裤袜/丝袜"
                    }
                    ]
                },
                {
                    "titleId": 1442,
                    "title": "运动户外",
                    "category": [{
                        "id": "1443",
                        "name": "跑步运动"
                    },
                    {
                        "id": "1453",
                        "name": "舞蹈运动"
                    },
                    {
                        "id": "1454",
                        "name": "瑜伽运动"
                    }
                    ]
                }
                ]
            },
            {
                "title": "鞋靴、箱包、钟表、奢侈品",
                "id": 8,
                "subTitle": [
                    "奢侈品",
                    "功能箱包"
                ],
                "cateTitle": [
                    "男鞋",
                    "女鞋",
                    "箱包",
                    "钟表",
                    "奢侈品",
                    "女包"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072850306019115.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072746651935979.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072756032175204.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072777790374054.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072787223453617.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072835176110718.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490074006660107941.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073109529817869.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073971637187496.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490074180745676140.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073919711003101.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073731822160672.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073717776504773.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073705755280994.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073529881448780.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490075080126940602.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073253749057076.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490074308773778697.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490296765062943272.jpg",
                "children": [{
                    "titleId": 362,
                    "title": "奢侈品",
                    "category": [{
                        "id": "439",
                        "name": "箱包"
                    },
                    {
                        "id": "441",
                        "name": "服饰"
                    },
                    {
                        "id": "442",
                        "name": "腰带"
                    }
                    ]
                },
                {
                    "titleId": 360,
                    "title": "功能箱包",
                    "category": [{
                        "id": "427",
                        "name": "拉杆箱/拉杆包"
                    },
                    {
                        "id": "428",
                        "name": "旅行包"
                    },
                    {
                        "id": "436",
                        "name": "旅行配件"
                    }
                    ]
                },
                {
                    "titleId": 355,
                    "title": "流行男鞋",
                    "category": [{
                        "id": "399",
                        "name": "休闲鞋"
                    },
                    {
                        "id": "405",
                        "name": "增高鞋"
                    },
                    {
                        "id": "412",
                        "name": "定制鞋"
                    }
                    ]
                },
                {
                    "titleId": 353,
                    "title": "时尚女鞋",
                    "category": [{
                        "id": "371",
                        "name": "单鞋"
                    },
                    {
                        "id": "373",
                        "name": "高跟鞋"
                    },
                    {
                        "id": "380",
                        "name": "休闲鞋"
                    }
                    ]
                },
                {
                    "titleId": 357,
                    "title": "潮流女包",
                    "category": [{
                        "id": "414",
                        "name": "手提包"
                    }]
                },
                {
                    "titleId": 359,
                    "title": "精品男包",
                    "category": [{
                        "id": "425",
                        "name": "钱包/卡包"
                    }]
                }
                ]
            },
            {
                "title": "手机、数码、通信",
                "id": 3,
                "subTitle": [
                    "摄影摄像",
                    "手机通讯"
                ],
                "cateTitle": [
                    "手机频道",
                    "网上营业厅",
                    "配件城",
                    "影像Club",
                    "手机社区",
                    "以旧换新"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073661335207841.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073591535005714.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073577683159021.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073561018734078.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073529881448780.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073240845049320.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490171981556005380.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490296477657287023.jpg",
                "children": [{
                    "titleId": 64,
                    "title": "摄影摄像",
                    "category": [{
                        "id": "66",
                        "name": "数码相机"
                    },
                    {
                        "id": "68",
                        "name": "单电/微单相机"
                    },
                    {
                        "id": "69",
                        "name": "单反相机"
                    },
                    {
                        "id": "71",
                        "name": "运动相机"
                    },
                    {
                        "id": "72",
                        "name": "摄像机"
                    },
                    {
                        "id": "75",
                        "name": "摄影器材"
                    }
                    ]
                },
                {
                    "titleId": 33,
                    "title": "手机通讯",
                    "category": [{
                        "id": "34",
                        "name": "手机"
                    },
                    {
                        "id": "35",
                        "name": "对讲机"
                    }
                    ]
                },
                {
                    "titleId": 47,
                    "title": "手机配件",
                    "category": [{
                        "id": "51",
                        "name": "蓝牙耳机"
                    },
                    {
                        "id": "56",
                        "name": "保护套"
                    },
                    {
                        "id": "57",
                        "name": "车载"
                    }
                    ]
                }
                ]
            },
            {
                "title": "电脑、办公",
                "id": 4,
                "subTitle": [
                    "电脑整机",
                    "电脑配件"
                ],
                "cateTitle": [
                    "本周热卖",
                    "游戏部落",
                    "智能社区",
                    "GAME+",
                    "装机大师",
                    "办公生活馆"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073009638652059.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490075108722576375.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490074990110164877.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073616154966189.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490075080126940602.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490228262050567438.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490296350661886591.jpg",
                "children": [{
                    "titleId": 132,
                    "title": "电脑整机",
                    "category": [{
                        "id": "168",
                        "name": "笔记本"
                    },
                    {
                        "id": "171",
                        "name": "超级本"
                    },
                    {
                        "id": "174",
                        "name": "游戏本"
                    },
                    {
                        "id": "178",
                        "name": "平板电脑"
                    },
                    {
                        "id": "181",
                        "name": "平板电脑配件"
                    },
                    {
                        "id": "186",
                        "name": "台式机"
                    }
                    ]
                },
                {
                    "titleId": 141,
                    "title": "电脑配件",
                    "category": [{
                        "id": "216",
                        "name": "硬盘"
                    },
                    {
                        "id": "222",
                        "name": "机箱"
                    },
                    {
                        "id": "225",
                        "name": "显示器"
                    },
                    {
                        "id": "241",
                        "name": "组装电脑"
                    }
                    ]
                }
                ]
            },
            {
                "title": "家居、家具、家装、厨具",
                "id": 5,
                "subTitle": [
                    "家具",
                    "厨具"
                ],
                "cateTitle": [
                    "家装城",
                    "居家日用",
                    "精品家具",
                    "家装建材",
                    "厨房达人",
                    "猫猫狗狗"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072787223453617.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072835176110718.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490075108722576375.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073591535005714.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073529881448780.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490074901892372216.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073359611343586.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490847695352345291.jpg",
                "children": [{
                    "titleId": 205,
                    "title": "家具",
                    "category": [{
                        "id": "206",
                        "name": "卧室家具"
                    },
                    {
                        "id": "207",
                        "name": "客厅家具"
                    },
                    {
                        "id": "210",
                        "name": "书房家具"
                    }
                    ]
                },
                {
                    "titleId": 143,
                    "title": "厨具",
                    "category": [{
                        "id": "146",
                        "name": "烹饪锅具"
                    },
                    {
                        "id": "149",
                        "name": "刀剪菜板"
                    },
                    {
                        "id": "152",
                        "name": "厨房配件"
                    },
                    {
                        "id": "154",
                        "name": "餐具"
                    }
                    ]
                },
                {
                    "titleId": 188,
                    "title": "家纺",
                    "category": [{
                        "id": "190",
                        "name": "床品套件"
                    },
                    {
                        "id": "191",
                        "name": "被子"
                    },
                    {
                        "id": "194",
                        "name": "床单被罩"
                    }
                    ]
                },
                {
                    "titleId": 255,
                    "title": "生活日用",
                    "category": [{
                        "id": "261",
                        "name": "浴室用品"
                    },
                    {
                        "id": "263",
                        "name": "缝纫/针织用品"
                    }
                    ]
                }
                ]
            },
            {
                "title": "个人化妆、清洁用品",
                "id": 860,
                "subTitle": [
                    "面部护肤",
                    "洗发护发"
                ],
                "cateTitle": [
                    "清洁用品",
                    "美妆商城",
                    "官方旗舰店",
                    "美妆特卖",
                    "妆比社",
                    "全球购美妆"
                ],
                "supplier": [
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072677495061584.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072685002270742.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490072931218635674.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073930435480283.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073692774466710.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490228075580091113.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490073240845049320.jpg",
                    "https://x.dscmall.cn/storage/data/brandlogo/1490171981556005380.jpg"
                ],
                "ADimg": "https://x.dscmall.cn/storage/data/afficheimg/1490847656340816332.jpg",
                "children": [{
                    "titleId": 876,
                    "title": "面部护肤",
                    "category": [{
                        "id": "877",
                        "name": "清洁"
                    },
                    {
                        "id": "1177",
                        "name": "洗面奶"
                    },
                    {
                        "id": "1182",
                        "name": "卸妆水"
                    },
                    {
                        "id": "1184",
                        "name": "爽肤水"
                    }
                    ]
                },
                {
                    "titleId": 880,
                    "title": "洗发护发",
                    "category": [{
                        "id": "881",
                        "name": "洗发"
                    },
                    {
                        "id": "883",
                        "name": "染发"
                    },
                    {
                        "id": "884",
                        "name": "造型"
                    }
                    ]
                },
                {
                    "titleId": 896,
                    "title": "香水彩妆",
                    "category": [{
                        "id": "898",
                        "name": "底妆"
                    },
                    {
                        "id": "899",
                        "name": "腮红"
                    },
                    {
                        "id": "900",
                        "name": "眼部"
                    },
                    {
                        "id": "1351",
                        "name": "彩妆套装"
                    },
                    {
                        "id": "1355",
                        "name": "双眼皮贴"
                    },
                    {
                        "id": "1359",
                        "name": "气垫BB"
                    }
                    ]
                }
                ]
            }
            ]
            return data
        },
        // 商品
        getCommunityData(name, id) {

            var page1 = [{
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1489105083028.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1489105083910.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489105091868.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489105091684.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489105091472.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489105091463.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489105091095.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489105091338.jpg"
                }
                ],
                "id": 645,
                "discountPrice": 0.01,
                "originalPrice": 0.01,
                "name": "麦斯威尔杰威尔发胶定型喷雾男士干胶头发持久定型造型啫喱水发蜡蓬松清香 快速定型，蓬松清香，不起白屑，",
                "introduce": 994,
                "serialNumber": "ECS000645"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/202101/goods_img/0_P_1611858712812.png",
                    "smallPic": "https://x.dscmall.cn/storage/images/202101/thumb_img/0_thumb_P_1611858712231.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/202106/goods_img/1242_P_1622745809878.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/202106/thumb_img/1242_thumb_P_1622745809363.jpg"
                }
                ],
                "id": 1242,
                "discountPrice": 0.01,
                "originalPrice": 111,
                "name": "测试",
                "introduce": 8,
                "serialNumber": "BT001242"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224521970.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224521833.jpg"
                }],
                "id": 893,
                "discountPrice": 100,
                "originalPrice": 340,
                "name": "Maybelline/美宝莲好气色水润唇部套装 滋润保湿持久显色唇露唇膏",
                "introduce": 41,
                "serialNumber": "ECS000912"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224493316.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224493856.jpg"
                }],
                "id": 892,
                "discountPrice": 100,
                "originalPrice": 340,
                "name": "小米宝莲 透净瞬洁净妆乳 120ml 卸妆乳 卸妆液卸妆无残留专柜正品 安全温和 彻底清洁 水润清爽",
                "introduce": 12,
                "serialNumber": "ECS000892"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224466488.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224466138.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224466871.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224466254.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224462811.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224462894.jpg"
                }
                ],
                "id": 891,
                "discountPrice": 100,
                "originalPrice": 226.79,
                "name": "宝姿美宝莲 好气色潮色双搭轻垫霜提亮肌肤白皙气垫CC霜凸显好气色 提亮肌肤",
                "introduce": 12,
                "serialNumber": "ECS000891"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224408944.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224408747.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224406180.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224406930.jpg"
                }
                ],
                "id": 889,
                "discountPrice": 100,
                "originalPrice": 58.8,
                "name": "宝姿美宝莲 奇妙净颜盈润洁面膏100ml 保湿 控油 滋润 祛除多余油脂 不干燥 不紧绷",
                "introduce": 12,
                "serialNumber": "ECS000889"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224351882.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224351056.jpg"
                }],
                "id": 887,
                "discountPrice": 0,
                "originalPrice": 0,
                "name": "宝姿美宝莲 色秀指甲油 糖果色 专业彩妆美甲 专柜正品 绚丽色彩 多色可选",
                "introduce": 0,
                "serialNumber": "ECS000887"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224320593.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224320884.jpg"
                }],
                "id": 886,
                "discountPrice": 100,
                "originalPrice": 118.8,
                "name": "宝姿Maybelline/美宝莲净澈多效卸妆水清爽型 舒缓 深层清洁 舒缓 补水 深层清洁 卸妆",
                "introduce": 12,
                "serialNumber": "ECS000886"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224295755.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224295155.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224295692.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224295307.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224291415.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224291402.jpg"
                }
                ],
                "id": 885,
                "discountPrice": 100,
                "originalPrice": 28.79,
                "name": "宝姿美宝莲宝蓓护唇膏 宝贝护唇膏 润唇膏 唇彩口红保湿 滋润",
                "introduce": 12,
                "serialNumber": "ECS000885"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224265550.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224265222.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224263776.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224263168.jpg"
                }
                ],
                "id": 884,
                "discountPrice": 100,
                "originalPrice": 34.8,
                "name": "宝姿美宝莲 宝蓓爱炫彩护唇膏 润唇膏 波普风 保湿滋润 显色丰润 一扫唇色暗沉 卖萌必备",
                "introduce": 12,
                "serialNumber": "ECS000884"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1489105021117.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1489105021570.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489105028882.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489105028525.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489105028318.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489105028508.jpg"
                }
                ],
                "id": 644,
                "discountPrice": 60,
                "originalPrice": 72,
                "name": "佳沪数码-华为欧莱雅男士水能保湿化妆护肤品套装深层补水滋润洗面奶爽肤水乳液",
                "introduce": 1001,
                "serialNumber": "ECS000644"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1489104977818.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1489104977241.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104982295.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104982668.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104982653.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104982920.jpg"
                }
                ],
                "id": 643,
                "discountPrice": 108,
                "originalPrice": 129.6,
                "name": "皮克朋一叶子去角质去死皮膏啫喱面部温和祛黑头全身温和补水凝胶磨砂膏 新鲜护肤 植物护肤 去除角质 光滑柔嫩",
                "introduce": 999,
                "serialNumber": "ECS000643"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1489104621544.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1489104621225.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104627049.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104627793.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104628289.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104628947.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104628565.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104628914.jpg"
                }
                ],
                "id": 640,
                "discountPrice": 200,
                "originalPrice": 240,
                "name": "NINE WEST花美时三合一自动旋转双头眉笔眉粉染眉膏画眉持久防水防汗不脱色 防水防汗 持久不晕染 正品包邮",
                "introduce": 1000,
                "serialNumber": "ECS000640"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1489104534406.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1489104534435.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104543573.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104543433.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104543089.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104543626.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104544047.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104544834.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104544618.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104544803.jpg"
                }
                ],
                "id": 639,
                "discountPrice": 300,
                "originalPrice": 360,
                "name": "飞利浦美宝莲绝色持久唇膏 粉红警报 魅惑炫亮润泽 唇彩口红",
                "introduce": 991,
                "serialNumber": "ECS000639"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1489104168199.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1489104168006.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104176526.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104176059.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104176498.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104176145.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104176017.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104176308.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104177629.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104177879.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104177564.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104177419.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104177795.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104177163.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1489104177860.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1489104177352.jpg"
                }
                ],
                "id": 638,
                "discountPrice": 520,
                "originalPrice": 624,
                "name": "justyle美宝莲绝色持久唇膏 粉红警报 魅惑炫亮润泽 唇彩口红",
                "introduce": 1008,
                "serialNumber": "ECS000638"
            },
            {
                "children": [{
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/_P_1490224438288.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/_thumb_P_1490224438450.jpg"
                },
                {
                    "bigPic": "https://x.dscmall.cn/storage/images/201703/goods_img/0_P_1490224435891.jpg",
                    "smallPic": "https://x.dscmall.cn/storage/images/201703/thumb_img/0_thumb_P_1490224435860.jpg"
                }
                ],
                "id": 890,
                "discountPrice": 100,
                "originalPrice": 58.8,
                "name": "宝姿美宝莲 顺滑恒久眉笔流畅线条 利落型眉 可长久持妆 新品上市 流畅线条 利落型眉 长效持妆",
                "introduce": 12,
                "serialNumber": "ECS000890"
            }
            ]

            var result;
            // if (!name) return new Error('未传入参数');
            if (name == 'index') {
                if (id) {
                    index.find(function (v) {
                        if (v.id == id) result = v;
                    });
                    if (result) {
                        return result
                    } else {
                        return new Error('没有找到数据')
                    }
                } else {
                    return index;
                }
            } else if (name == 'page1') {
                if (id) {
                    page1.find(function (v) {
                        if (v.id == id) result = v;
                    });
                    return result
                } else {
                    return page1;
                }
            } else if (name == 'page2') {
                if (id) {
                    page2.find(function (v) {
                        if (v.id == id) result = v;
                    });
                    return result
                } else {
                    return page2;
                }
            } else {
                return new Error('参数无效');
            }
        }
    }

    window.BeautifulCong = data;
    return BeautifulCong;
})(this);